<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 14:26
 * 更新机构员工
 */
//获取参数
$ou_id = $route->bodyParams["ou_id"];//主键ID

//更新条件
$whereArr = [
    "ou_id" => $ou_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_user",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );